
package com.welsy.authoring.event
{
	import flash.events.Event;
	import com.welsy.util.ChainEvent;

	public class SaveQuestionResponseEvent extends ChainEvent
	{
		public static var EVENT_SAVEQUESTIONRESPONSE : String = "saveQuestionResponse";
				
		public var userId : String;
		public var testId : String;
		public var questionId : String;
		public var answerId : String;
		public var score : String;
		public var percentage : String;
		public var consultationTime : String;
		
		/**
		 * Event for saving a course test
		 */
		public function SaveQuestionResponseEvent( userId : String, testId : String, questionId : String, answerId : String, score : String, percentage : String, consultationTime : int )
		{
			super( EVENT_SAVEQUESTIONRESPONSE );
			this.userId = userId;
			this.testId = testId;
			this.questionId = questionId;
			this.answerId = answerId;
			this.score = score;
			this.percentage = percentage;
			this.consultationTime = String(consultationTime);
		}
 
	}
	
}